﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ApproalUpdate.aspx.cs" Inherits="ApproalUpdate"
    MasterPageFile="~/Master.master" %>

<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        批文信息修改
    </h1>
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
        </div>
        <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="800px">
        <PanelCollection>
            <dx:PanelContent>
              <table width="900px">
            <tr>
                <td align="right">
                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="批文文号：">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtAppNum" runat="server" Width="300px" 
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td align="right">
                    <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="批文标题：">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtAppTitle" runat="server" Width="300px" 
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="批附摘要：">
                    </dx:ASPxLabel>
                </td>
                <td colspan="3">
                    <dx:ASPxMemo ID="txtAppSum" runat="server" Height="100px" Width="750px" 
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxMemo>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="批文日期：">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtAppDate" runat="server" Width="300px" 
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td align="right">
                    <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="所属城区：">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxComboBox ID="cmbDis" runat="server" DataSourceID="SDSDis" TextField="Community_Name"
                        ValueField="Community_ID" ValueType="System.String"  Width="300px"
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" Spacing="0" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                        </LoadingPanelImage>
                        <LoadingPanelStyle ImageSpacing="5px">
                        </LoadingPanelStyle>
                    </dx:ASPxComboBox>
                    <asp:SqlDataSource ID="SDSDis" runat="server" ConnectionString="<%$ ConnectionStrings:ManagerConnectionString %>"
                        SelectCommand="SELECT * FROM [Community] WHERE ([Parent_ID] = @Parent_ID)">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="0" Name="Parent_ID" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <dx:ASPxButton ID="btnOK" runat="server" Text="确定" OnClick="btnOK_Click" 
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxButton>
                </td>
                <td colspan="2">
                    <dx:ASPxButton ID="btnEsc" runat="server" Text="取消" OnClick="btnEsc_Click" 
                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue" 
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxButton>
                </td>
            </tr>
        </table>
            </dx:PanelContent>
        </PanelCollection>
        </dx:ASPxPanel>
      
    </div>
</asp:Content>
